package com.hanxiaozhang.base.dao;

import com.hanxiaozhang.base.dto.FileDTO;
import com.hanxiaozhang.base.entity.FileEntity;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 文件表
 *
 * @author hanxiaozhang
 * @email hanxiaozhang2018@sina.com
 * @date 2021-05-02
 */
@Mapper
public interface FileDao {

	FileDTO get(Long fileId);
	
	List<FileDTO> list(Map<String, Object> map);

	int save(FileEntity file);
	
	int update(FileEntity file);
	
	int remove(Long fileId);

	int batchRemove(Long[] fileIds);



}
